package ar.uade.distribuidas.tpo.base.dominiodto;

import java.io.Serializable;
import java.util.List;

import com.google.common.collect.Lists;


public class CondicionDeVentaDTO implements Serializable {

	private int id; 
	private  MedioPagoDTO mediopago;
	private List<PoliticaDTO> politicas;
	private static final long serialVersionUID = 1L;
	
	
	public CondicionDeVentaDTO(){
		
		this.politicas = Lists.newLinkedList();
	}
	
	public CondicionDeVentaDTO(int id, MedioPagoDTO medioPago){
		
		this.id =id;
		this.mediopago = medioPago;
		
	}
	
public CondicionDeVentaDTO(int id){
		
		this.id =id;
		this.politicas = Lists.newLinkedList();
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public MedioPagoDTO getMediopago() {
		return mediopago;
	}
	public void setMediopago(MedioPagoDTO mediopago) {
		this.mediopago = mediopago;
	}

	public List<PoliticaDTO> getPoliticas() {
		return politicas;
	}

	public void setPoliticas(List<PoliticaDTO> politicas) {
		this.politicas = politicas;
	}
	
	
	
}
